package com.zhiche.wms.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;


@Configuration
@ConfigurationProperties(prefix = "wms.properties")
@Validated
public class MyConfigurationProperties {
    @NotNull
    private String fetchInboundFromTMSUrl;
    @NotNull
    private Integer socketTimeOut;
    @NotNull
    private String encodeKey;

    private String inboundWarehouse;

    private String outboundWarehouse;

    private String integrationhost;

    private String uaahost;

    private String otmhost;

    private String shipDataForBMS;

    private String cancleShipDataForBMS;

    public String getCancleShipDataForBMS () {
        return cancleShipDataForBMS;
    }

    public void setCancleShipDataForBMS (String cancleShipDataForBMS) {
        this.cancleShipDataForBMS = cancleShipDataForBMS;
    }

    public String getShipDataForBMS() {
        return shipDataForBMS;
    }

    public void setShipDataForBMS(String shipDataForBMS) {
        this.shipDataForBMS = shipDataForBMS;
    }

    public String getUaahost() {
        return uaahost;
    }

    public void setUaahost(String uaahost) {
        this.uaahost = uaahost;
    }

    public String getInboundWarehouse() {
        return inboundWarehouse;
    }

    public void setInboundWarehouse(String inboundWarehouse) {
        this.inboundWarehouse = inboundWarehouse;
    }

    public String getOutboundWarehouse() {
        return outboundWarehouse;
    }

    public void setOutboundWarehouse(String outboundWarehouse) {
        this.outboundWarehouse = outboundWarehouse;
    }

    public String getIntegrationhost() {
        return integrationhost;
    }

    public void setIntegrationhost(String integrationhost) {
        this.integrationhost = integrationhost;
    }

    public String getEncodeKey() {
        return encodeKey;
    }

    public void setEncodeKey(String encodeKey) {
        this.encodeKey = encodeKey;
    }

    public String getFetchInboundFromTMSUrl() {
        return fetchInboundFromTMSUrl;
    }

    public void setFetchInboundFromTMSUrl(String fetchInboundFromTMSUrl) {
        this.fetchInboundFromTMSUrl = fetchInboundFromTMSUrl;
    }

    public Integer getSocketTimeOut() {
        return socketTimeOut;
    }

    public void setSocketTimeOut(Integer socketTimeOut) {
        this.socketTimeOut = socketTimeOut;
    }

    public String getOtmhost() {
        return otmhost;
    }

    public void setOtmhost(String otmhost) {
        this.otmhost = otmhost;
    }
}
